package cn.demoncat.util.dingtalk.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 钉钉配置
 * 
 * @author 延晓磊
 *
 * @since 2019年3月12日
 */
@Data
@Component
@ConfigurationProperties(prefix="dingtalk")
public class DingTalkProperties{

    // 应用标识
    private Long agentId;
    private String appKey;
    // 应用密钥
    private String appSecret;
    // 事件密钥
    private String eventKey;
    private String eventToken;

    // 工作流表单
    private Boolean disableFormEdit = true;
    private Boolean disableResubmit = true;
    private Boolean disableDeleteProcess = false;
    private Boolean disableStopProcessButton = true;
}
